<?xml version="1.0" encoding="utf-8"?>
<Content type="xform" name="EditContent">
	<model>
		<instance>
			<provider name="SecPay" validGroups="all" validCurrencies="GBP">
				<description value="Pay by Credit Card (Paypoint.Net)"/>
				<currency value="GBP"/>
				<cardsAccepted value="MasterCard:Master Card,VISA:Visa,Delta:Delta,Solo:Solo,Switch/Maestro:Switch"/>
				<accountId value="secpay"/>
				<accountPassword value="secpay"/>
				<opperationMode value="true"/>
				<transactionType value="defer"/>
				<validateAddress value="on"/>
				<validateCV2 value="on"/>
				<secure3d value="off"/>
			</provider>
		</instance>
		<submission id="EditContent" action="" method="post" event="return form_check(this)"/>
		<bind nodeset="provider">
			<bind id="description" nodeset="description/@value" required="true()" type="string"/>
			<bind id="accountId" nodeset="accountId/@value" required="true()" type="string"/>
			<bind id="accountPassword" nodeset="accountPassword/@value" required="true()" type="string"/>
			<bind id="currency" nodeset="currency/@value" required="true()" type="string"/>
			<bind id="cardsAccepted" nodeset="cardsAccepted/@value" required="true()" type="string"/>
			<bind id="opperationMode" nodeset="opperationMode/@value" required="true()" type="string"/>
			<bind id="transactionType" nodeset="transactionType/@value" required="true()" type="string"/>
			<bind id="validateAddress" nodeset="validateAddress/@value" required="true()" type="string"/>
			<bind id="validateCV2" nodeset="validateCV2/@value" required="true()" type="string"/>
			<bind id="secure3d" nodeset="secure3d/@value" required="true()" type="string"/>
		</bind>
	</model>
	<group ref="EditContent" class="2col">
		<label>SecPay Settings</label>
		<group>
			<group>
				<select1 bind="opperationMode" appearance="full" class="required">
					<label>Opperation Mode</label>
					<item>
						<label>Live</label>
						<value>live</value>
					</item>
					<item>
						<label>Test</label>
						<value>true</value>
					</item>
					<item>
						<label>Test False</label>
						<value>false</value>
					</item>
				</select1>
				<select1 bind="transactionType" appearance="full" class="required">
					<label>Transaction Type</label>
					<item>
						<label>Defer</label>
						<value>defer</value>
					</item>
					<item>
						<label>Full</label>
						<value>full</value>
					</item>
				</select1>
				<select1 bind="validateAddress" appearance="full" class="required">
					<label>Validate Address</label>
					<item>
						<label>Yes</label>
						<value>on</value>
					</item>
					<item>
						<label>No</label>
						<value>off</value>
					</item>
				</select1>
				<select1 bind="validateCV2" appearance="full" class="required">
					<label>Validate CV2</label>
					<item>
						<label>Yes</label>
						<value>on</value>
					</item>
					<item>
						<label>No</label>
						<value>off</value>
					</item>
				</select1>
				<select1 bind="secure3d" appearance="full" class="required">
					<label>3D Secure</label>
					<item>
						<label>Yes</label>
						<value>on</value>
					</item>
					<item>
						<label>No</label>
						<value>off</value>
					</item>
				</select1>
			</group>
		</group>
		<group>
			<group>
		<input bind="description" class="long">
			<label>Description</label>
		</input>
		<input bind="accountId">
			<label>Account Id</label>
		</input>
		<input bind="accountPassword">
			<label>Account Password</label>
		</input>
		<input bind="currency">
			<label>Default Currency</label>
		</input>
		<textarea bind="cardsAccepted" rows="4" cols="60">
			<label>CardsAccepted</label>
		</textarea>
			</group>
		</group>
	
		
	</group>
	<group>
		<submit submission="" ref="ewSubmit" class="principle">
			<label>Save Settings</label>
		</submit>
		</group>
</Content>
